package com.itheima.dao;

import com.itheima.pojo.Link;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

@Repository
public interface LinkMapper extends Mapper<Link> {

    @Select("select max(sort) from t_link")
    Integer findMaxSort();
}
